package com.shf.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shf.domain.ResponseResult;
import com.shf.domain.entity.Comment;

/**
 * @author 叶枫
 * @date 2023/11/4.
 */


public interface CommentService extends IService<Comment> {
    /**
     * 品论列表
     * @param articleId
     * @param pageNum
     * @param pageSize
     * @return
     */
    ResponseResult commentList(String commentType, Long articleId, Integer pageNum, Integer pageSize);

    /**
     * 添加列表
     * @param comment
     * @return
     */
    ResponseResult addComment(Comment comment);
}
